﻿using System.Collections.Generic;
using BO;
using Model;

namespace Controller
{
    /// <summary>
    /// Summary description for VYC0701Controller
    /// </summary>
    public class VYC0701Controller
    {
        private static VYC0701BO _vyc0701Bo;
        public VYC0701Controller()
        {
            //
            _vyc0701Bo = new VYC0701BO();
        }

        public List<ModelVYC0701> GetAllList()
        {
            return _vyc0701Bo.GetAllList();
        }

        public int AddData(ModelVYC0701 model)
        {
            return _vyc0701Bo.AddData(model);
        }

        public int EditData(ModelVYC0701 model)
        {
            return _vyc0701Bo.EditData(model);
        }
    }
}